#ifndef __STORMWIDGET_STORMWIDGET_UILIBRARY_CSTDVALARRAY_STDVALARRAY_H
#define __STORMWIDGET_STORMWIDGET_UILIBRARY_CSTDVALARRAY_STDVALARRAY_H

class CStdValArray
{
public:
	CStdValArray(int iElementSize,int iPrealloCStdSize = 0);
	virtual ~CStdValArray(void);

	void Empty();
	bool IsEmpty() const;
	bool Add(LPCVOID pData);
	bool Remove(int iIndex);
	int GetSize() const;
	LPVOID GetData();
	LPVOID GetAt(int iIndex) const;
	LPVOID operator[] (int nIndex) const;
protected:
	LPBYTE m_pVoid;
	int m_iElementSize;
	int m_nCount;
	int m_nAllocated;
};

#endif //__STORMWIDGET_STORMWIDGET_UILIBRARY_CSTDVALARRAY_STDVALARRAY_H
